package com.hq.service;

import com.hq.bean.Mingxi;
import com.hq.bean.Order;
import com.hq.bean.User;
import com.hq.dao.OrderDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class OrderServiceImpl implements OrderService {
    @Resource
    private OrderDao orderDao;
    @Override
    public List list(Map map) {
        return orderDao.list(map);
    }

    @Override
    public int getsnowid(String snowid) {
        return orderDao.getsnowid(snowid);
    }

    @Override
    public int add(String mmid) {
        return orderDao.add(mmid);
    }

    @Override
    public int addmi(Mingxi mingxi) {
        return orderDao.addmi(mingxi);
    }

    @Override
    public List apendList(String snowid) {
        return orderDao.apendList(snowid);
    }

    @Override
    public int updadd(Order order) {
        return orderDao.updadd(order);
    }

    @Override
    public User login(User user) {
        return orderDao.login(user);
    }

    @Override
    public Map hui(String oid) {
        return orderDao.hui(oid);
    }


    @Override
    public int del(String snowid) {
        return orderDao.del(snowid);
    }

    @Override
    public int updorder(Order order) {
        return orderDao.updorder(order);
    }

    @Override
    public List list1(Map map) {
        return orderDao.list1(map);
    }

    @Override
    public List list2(Map map) {
        return orderDao.list2(map);
    }

    @Override
    public List list3(Map map) {
        return orderDao.list3(map);
    }

    @Override
    public List listwupin(Map map) {
        return orderDao.listwupin(map);
    }

    @Override
    public Map huimingxi(String mmid) {
        return orderDao.huimingxi(mmid);
    }


}
